package com.sizu.service;

import com.sizu.common.entity.LogEntity;
import com.sizu.common.vo.ResultEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient("mongodb-server")
@Service
public interface LogService {

    @RequestMapping(value = "/log/add",method = RequestMethod.POST)
    public ResultEntity add(@RequestBody LogEntity logEntity);
}
